import request from '@/router/axios';

/* 列表 */
export const getList = (current, size, params) => {
  return request({
    url: '/api/rb-oem/oem/incomingbasic/incoming_basic/payRecordPage',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  })
}

/* 对账单 导出 */
export const getExport = (params) => {
  return request({
    /*headers: {
      "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
    },
    responseType: 'blob',*/
    url: '/api/rb-oem/oem/incomingbasic/incoming_basic/export',
    method: 'get',
    params: {
      ...params
    }
  })
}


